package com.zshan.clinic.admin.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.zshan.clinic.common.util.tree.TreeEntity;
import lombok.Data;

import java.util.List;


/**
 * 病历字段支持
 * @author lichen
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class MedicalFieldSupportTreeVo implements TreeEntity<MedicalFieldSupportTreeVo> {

    /** 取值ID */
    private Long id;

    /** 字段ID */
    private Long fieldId;

    /** 推荐value;1/2 */
    private String value;

    /** 推荐名称;围产情况/出生情况 */
    private String text;

    /** 父ID */
    private Long parentId;

    /** 排序号 */
    private Integer sortNum;


    public List<MedicalFieldSupportTreeVo> children;


    @Override
    public Long getId() {
        return this.id;
    }

    @Override
    public Long getParentId() {
        return this.parentId;
    }
}
